import { request, Response } from "@/framework/utils/request";

export const handleWarn = (data) => {
  return request<Response<any>>({
    url: '/warnHandleLog/handle',
    method: 'post',
    data
  },
    {
      isGetDataDirectly: false
    })
}

export const handleAllWarn = (data) => {
  return request<Response<any>>({
    url: '/warnHandleLog/batchHandle',
    method: 'post',
    data
  },
    {
      isGetDataDirectly: false
    })
}